import TeamIndex from '@/components/team/index.vue'
import TeamInfo from '@/components/team/info.vue'
import TeamConfirm from '@/components/team/confirm.vue'


//路由列表
const list = [
    {
        path:'index',
        name: 'TeamIndex',
        component: TeamIndex,
        meta: {IsLogin: true}
    },
    {
        path:'info',
        name: 'TeamInfo',
        component: TeamInfo,
        meta: {IsLogin: true}
    },
    {
        path:'confirm',
        name: 'TeamConfirm',
        component: TeamConfirm,
        meta: {IsLogin: true}
    },
]

//父路由结构
const layout = {
    template: `<router-view></router-view>`
}

export default [{
    path: '/team',
    name: 'team',
    children: list,
    component: layout,
}]